package com.aomj.jsp;

import java.util.Map;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
* @author Angel(QQ:412887952)
* @version v.0.1
*/
@Controller
public class HelloController {
     
   @Value("${application.hello:Hello Angel}")
   private String hello;

     
      @RequestMapping("/helloJsp")
      public String helloJsp(Map<String,Object> map){
             System.out.println("HelloController.helloJsp _1114().hello="+hello);
             map.put("hello", hello);
             return "helloJsp";
      }
}

